from models import ModelAddition, ModelAdditionForm, BooleanAddition, CharAddition, IntAddition, FloatAddition, TextAddition
from django.contrib import admin

class ModelAdditionAdmin(admin.ModelAdmin):
    form = ModelAdditionForm
    list_display = ['__unicode__', 'course','type', 'description', 'default']
    list_filter = ['model']

admin.site.register(ModelAddition, ModelAdditionAdmin)
admin.site.register(BooleanAddition)
admin.site.register(CharAddition)
admin.site.register(IntAddition)
admin.site.register(FloatAddition)
admin.site.register(TextAddition)
    